package com.stylefeng.guns.modular.platform.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.platform.dao.TaskRewardFlowsMapper;
import com.stylefeng.guns.modular.platform.model.TaskRewardFlows;
import com.stylefeng.guns.modular.platform.service.ITaskRewardFlowsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-27
 */
@Service
public class TaskRewardFlowsServiceImpl extends ServiceImpl<TaskRewardFlowsMapper, TaskRewardFlows> implements ITaskRewardFlowsService {

    @Resource
    private TaskRewardFlowsMapper taskRewardFlowsMapper;

    @Override
    public int getTaskRewardReceiveInfo(TaskRewardFlows taskRewardFlows) {
        return taskRewardFlowsMapper.getTaskRewardReceiveInfo(taskRewardFlows);
    }
}
